import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入样式
import '@/assets/css/reset.css'
import '@/assets/css/index.css'

// 引入ant-design
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
// 使用Antd
Vue.use(Antd);

// import axios from '@/utils/axios'

Vue.prototype.$bus = new Vue();

// axios.get('/banner').then(res => {
//   console.log(res);
// })

// axio({ url: 'http://localhost:3001/login/cellphone?phone=15577027025&password=820904', withCredentials: true }).then(res => {
//   console.log(res);
// })
// axios.get('/login/cellphone', { params: { phone: '15577027025', password: '820904' } }).then(res => {
//   console.log(res);
// axios.get('/recommend/songs').then(res => {
//   console.log(res);
// })
// })

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
